package com.crape.faq.dao;

import com.crape.common.exceptions.DAOException;
import com.crape.common.model.QuestionRef;

public interface IQuestionRefDAO {
	
	QuestionRef queryQuestionRef(Long accountid, Long questionid) throws DAOException;
	
	Long countQuestionRefByQuestionid(Long questionid) throws DAOException;
    
    void insertQuestionRef(Long accountid, Long questionid) throws DAOException;
    
    void backupQuestionRef(Long accountid, Long questionid) throws DAOException;
    
    void deleteQuestionRef(Long accountid, Long questionid) throws DAOException;

}
